<template>
	<view class="zy_empty_container">
		<image :src="img" class="zy_empty_img"></image>
		<!-- <view class="zy_empty_content">{{content}}</view> -->
		<view class="zy_empty_text">{{text}}</view>
	</view>
</template>

<script>
	export default {
		props: {
			img: {
				type: String,
				default: require('@/static/assets/public/empty/data.png')
			},
			content: {
				type: String,
				default: function() {
					return this.$t('zy-empty.noResult')
				}
			},
			text: {
				type: String,
				default: function() {
					return this.$t('public.noData')
				}
			},
		},
	}
</script>

<style lang="scss" scoped>
	@import './index.scss';
</style>